package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.CoordinationOfficeSendeeMapper;
import com.smfx.yxt.model.CoordinationOfficeSendee;
import com.smfx.yxt.page.Page;
import com.smfx.yxt.reqVo.OfficeQueryVO;
import com.smfx.yxt.service.ICoordinationOfficeSendeeService;
import com.smfx.yxt.view.CoordinationOfficeSendeeView;

@Service("coordinationOfficeSendeeService")
public class CoordinationOfficeSendeeServiceImpl implements ICoordinationOfficeSendeeService {

	@Autowired
	private CoordinationOfficeSendeeMapper coordinationOfficeSendeeMapper;
	
	@Override
	public int insertSelective(CoordinationOfficeSendee record) {
		return coordinationOfficeSendeeMapper.insertSelective(record);
	}

	@Override
	public CoordinationOfficeSendee selectByPrimaryKey(Integer id) {
		return coordinationOfficeSendeeMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(CoordinationOfficeSendee record) {
		return coordinationOfficeSendeeMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public CoordinationOfficeSendeeView selectViewDetail(OfficeQueryVO vo) {
		return coordinationOfficeSendeeMapper.selectViewDetail(vo);
	}

	@Override
	public List<CoordinationOfficeSendeeView> selectViewListByPage(Page<CoordinationOfficeSendeeView> page) {
		return coordinationOfficeSendeeMapper.selectViewListByPage(page);
	}

	@Override
	public List<CoordinationOfficeSendee> selectListByOfficeId(Integer officeId) {
		return coordinationOfficeSendeeMapper.selectListByOfficeId(officeId);
	}

	@Override
	public List<CoordinationOfficeSendeeView> selectFeedbackListByPage(Page<CoordinationOfficeSendeeView> page) {
		return coordinationOfficeSendeeMapper.selectFeedbackListByPage(page);
	}

}
